﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="TestDataSet" targetNamespace="http://tempuri.org/TestDataSet.xsd" xmlns:mstns="http://tempuri.org/TestDataSet.xsd" xmlns="http://tempuri.org/TestDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="TestDatabaseConnectionString" IsAppSettingsProperty="true" Modifier="Assembly" Name="TestDatabaseConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.InfFront.Demo.Properties.Settings.GlobalReference.Default.TestDatabaseConnectionString" Provider="Microsoft.SqlServerCe.Client.3.5" />
        </Connections>
        <Tables />
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="TestDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="TestDataSet" msprop:Generator_DataSetName="TestDataSet" msprop:EnableTableAdapterManager="True">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Goods" msprop:Generator_UserTableName="Goods" msprop:Generator_RowDeletedName="GoodsRowDeleted" msprop:Generator_RowChangedName="GoodsRowChanged" msprop:Generator_RowClassName="GoodsRow" msprop:Generator_RowChangingName="GoodsRowChanging" msprop:Generator_RowEvArgName="GoodsRowChangeEvent" msprop:Generator_RowEvHandlerName="GoodsRowChangeEventHandler" msprop:Generator_TableClassName="GoodsDataTable" msprop:Generator_TableVarName="tableGoods" msprop:Generator_RowDeletingName="GoodsRowDeleting" msprop:Generator_TablePropName="Goods">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="ID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInTable="IDColumn" type="xs:int" />
              <xs:element name="Title" msprop:Generator_UserColumnName="Title" msprop:Generator_ColumnPropNameInRow="Title" msprop:Generator_ColumnVarNameInTable="columnTitle" msprop:Generator_ColumnPropNameInTable="TitleColumn" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="GoodTransactions" msprop:Generator_UserTableName="GoodTransactions" msprop:Generator_RowDeletedName="GoodTransactionsRowDeleted" msprop:Generator_RowChangedName="GoodTransactionsRowChanged" msprop:Generator_RowClassName="GoodTransactionsRow" msprop:Generator_RowChangingName="GoodTransactionsRowChanging" msprop:Generator_RowEvArgName="GoodTransactionsRowChangeEvent" msprop:Generator_RowEvHandlerName="GoodTransactionsRowChangeEventHandler" msprop:Generator_TableClassName="GoodTransactionsDataTable" msprop:Generator_TableVarName="tableGoodTransactions" msprop:Generator_RowDeletingName="GoodTransactionsRowDeleting" msprop:Generator_TablePropName="GoodTransactions">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Quantity" msprop:Generator_UserColumnName="Quantity" msprop:Generator_ColumnPropNameInRow="Quantity" msprop:Generator_ColumnVarNameInTable="columnQuantity" msprop:Generator_ColumnPropNameInTable="QuantityColumn" type="xs:int" minOccurs="0" />
              <xs:element name="GoodID" msdata:Caption="Product ID" msprop:Generator_UserColumnName="GoodID" msprop:Generator_ColumnPropNameInRow="GoodID" msprop:Generator_ColumnVarNameInTable="columnGoodID" msprop:Generator_ColumnPropNameInTable="GoodIDColumn" type="xs:int" />
              <xs:element name="CustomerTransactionID" msdata:Caption="Customer Transaction ID" msprop:Generator_UserColumnName="CustomerTransactionID" msprop:Generator_ColumnPropNameInRow="CustomerTransactionID" msprop:Generator_ColumnVarNameInTable="columnCustomerTransactionID" msprop:Generator_ColumnPropNameInTable="CustomerTransactionIDColumn" type="xs:int" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Customers" msprop:Generator_UserTableName="Customers" msprop:Generator_RowDeletedName="CustomersRowDeleted" msprop:Generator_RowChangedName="CustomersRowChanged" msprop:Generator_RowClassName="CustomersRow" msprop:Generator_RowChangingName="CustomersRowChanging" msprop:Generator_RowEvArgName="CustomersRowChangeEvent" msprop:Generator_RowEvHandlerName="CustomersRowChangeEventHandler" msprop:Generator_TableClassName="CustomersDataTable" msprop:Generator_TableVarName="tableCustomers" msprop:Generator_RowDeletingName="CustomersRowDeleting" msprop:Generator_TablePropName="Customers">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="ID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInTable="IDColumn" type="xs:int" />
              <xs:element name="FirstName" msdata:Caption="First Name" msprop:Generator_UserColumnName="FirstName" msprop:Generator_ColumnPropNameInRow="FirstName" msprop:Generator_ColumnVarNameInTable="columnFirstName" msprop:Generator_ColumnPropNameInTable="FirstNameColumn" type="xs:string" minOccurs="0" />
              <xs:element name="LastName" msdata:Caption="Last Name" msprop:Generator_UserColumnName="LastName" msprop:Generator_ColumnPropNameInRow="LastName" msprop:Generator_ColumnVarNameInTable="columnLastName" msprop:Generator_ColumnPropNameInTable="LastNameColumn" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="CustomerTransactions" msprop:Generator_UserTableName="CustomerTransactions" msprop:Generator_RowDeletedName="CustomerTransactionsRowDeleted" msprop:Generator_RowChangedName="CustomerTransactionsRowChanged" msprop:Generator_RowClassName="CustomerTransactionsRow" msprop:Generator_RowChangingName="CustomerTransactionsRowChanging" msprop:Generator_RowEvArgName="CustomerTransactionsRowChangeEvent" msprop:Generator_RowEvHandlerName="CustomerTransactionsRowChangeEventHandler" msprop:Generator_TableClassName="CustomerTransactionsDataTable" msprop:Generator_TableVarName="tableCustomerTransactions" msprop:Generator_RowDeletingName="CustomerTransactionsRowDeleting" msprop:Generator_TablePropName="CustomerTransactions">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msprop:Generator_UserColumnName="ID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInTable="IDColumn" type="xs:int" />
              <xs:element name="CustomerID" msdata:Caption="Customer ID" msprop:Generator_UserColumnName="CustomerID" msprop:Generator_ColumnPropNameInRow="CustomerID" msprop:Generator_ColumnVarNameInTable="columnCustomerID" msprop:Generator_ColumnPropNameInTable="CustomerIDColumn" type="xs:int" minOccurs="0" />
              <xs:element name="When" msprop:Generator_UserColumnName="When" msprop:Generator_ColumnPropNameInRow="When" msprop:Generator_ColumnVarNameInTable="columnWhen" msprop:Generator_ColumnPropNameInTable="WhenColumn" type="xs:dateTime" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="GoodsPrimaryKey" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Goods" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="GoodTransactionsPrimaryKey" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:GoodTransactions" />
      <xs:field xpath="mstns:GoodID" />
      <xs:field xpath="mstns:CustomerTransactionID" />
    </xs:unique>
    <xs:unique name="CustomersPrimaryKey" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Customers" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="CustomerTransactionsPrimaryKey" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:CustomerTransactions" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="Customers_CustomerTransactions" msdata:parent="Customers" msdata:child="CustomerTransactions" msdata:parentkey="ID" msdata:childkey="CustomerID" msprop:Generator_UserRelationName="Customers_CustomerTransactions" msprop:Generator_RelationVarName="relationCustomers_CustomerTransactions" msprop:Generator_UserChildTable="CustomerTransactions" msprop:Generator_UserParentTable="Customers" msprop:Generator_ParentPropName="CustomersRow" msprop:Generator_ChildPropName="GetCustomerTransactionsRows" />
      <msdata:Relationship name="Goods_GoodTransactions" msdata:parent="Goods" msdata:child="GoodTransactions" msdata:parentkey="ID" msdata:childkey="GoodID" msprop:Generator_UserRelationName="Goods_GoodTransactions" msprop:Generator_RelationVarName="relationGoods_GoodTransactions" msprop:Generator_UserChildTable="GoodTransactions" msprop:Generator_UserParentTable="Goods" msprop:Generator_ParentPropName="GoodsRow" msprop:Generator_ChildPropName="GetGoodTransactionsRows" />
      <msdata:Relationship name="CustomerTransactions_GoodTransactions" msdata:parent="CustomerTransactions" msdata:child="GoodTransactions" msdata:parentkey="ID" msdata:childkey="CustomerTransactionID" msprop:Generator_UserRelationName="CustomerTransactions_GoodTransactions" msprop:Generator_RelationVarName="relationCustomerTransactions_GoodTransactions" msprop:Generator_UserChildTable="GoodTransactions" msprop:Generator_UserParentTable="CustomerTransactions" msprop:Generator_ParentPropName="CustomerTransactionsRow" msprop:Generator_ChildPropName="GetGoodTransactionsRows" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>